@ginobean Thanks, this can happen if you just compile ES (cmake / make) without any previous ES binary installation (or removed the previous binary installation).
FWIW, it should be no issue if you run sudo RetroPie-Setup/retropie_packages.sh emulationstation-dev unless you have a very dated (if not end-of-life OS) like these version (or even older):
Debian Jessie LinuxMint 18 Ubuntu 16.10 Zorin 14 ElementaryOS 0.4and/or a very dated retropie_setup.sh script [0].
These versions are tested in scriptmodules/system.sh [1], if they report an OS Version of 8 the resources folder is not copied by scriptmodules/supplementary/emulationstation[-dev].sh[2].
NB: The above retropie_packages.sh calls eventually the scriptmodule emulationstation-dev.sh (which is an wrapper around scriptmodule emulationstation.sh).
If you want to keep the sources of ES (below RetroPie-Setup/tmp/build/) then run
retropie_packages.sh emulationstation-dev sources retropie_packages.sh emulationstation-dev build retropie_packages.sh emulationstation-dev install[0] https://retropie.org.uk/forum/post/186708
[1] https://github.com/RetroPie/RetroPie-Setup/blob/fb5a22cfb75ea977484a0631949c80a263ce39c7/scriptmodules/system.sh#L211
[2] https://github.com/RetroPie/RetroPie-Setup/blob/fb5a22cfb75ea977484a0631949c80a263ce39c7/scriptmodules/supplementary/emulationstation.sh#L192